package com.chenchen.tiguan.venue.mapper;

import java.util.List;
import com.chenchen.tiguan.venue.domain.VenueReservation;

/**
 * 用户预约记录Mapper接口
 * 
 * @author chenchen
 * @date 2025-04-14
 */
public interface VenueReservationMapper 
{
    /**
     * 查询用户预约记录
     * 
     * @param reservationId 用户预约记录主键
     * @return 用户预约记录
     */
    public VenueReservation selectVenueReservationByReservationId(Long reservationId);

    /**
     * 查询用户预约记录列表
     * 
     * @param venueReservation 用户预约记录
     * @return 用户预约记录集合
     */
    public List<VenueReservation> selectVenueReservationList(VenueReservation venueReservation);

    /**
     * 新增用户预约记录
     * 
     * @param venueReservation 用户预约记录
     * @return 结果
     */
    public int insertVenueReservation(VenueReservation venueReservation);

    /**
     * 修改用户预约记录
     * 
     * @param venueReservation 用户预约记录
     * @return 结果
     */
    public int updateVenueReservation(VenueReservation venueReservation);

    /**
     * 删除用户预约记录
     * 
     * @param reservationId 用户预约记录主键
     * @return 结果
     */
    public int deleteVenueReservationByReservationId(Long reservationId);

    /**
     * 批量删除用户预约记录
     * 
     * @param reservationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteVenueReservationByReservationIds(Long[] reservationIds);
}
